interface PositionInfo {
  x: number;
  y: number;
  floorId: number;
  level?: number;
}

interface PoiInfo {
  bookInfo?: any;
  bookType?: number;
  bookPlace?: any;
  categoryId?: string;
  fid: string | number;
  floorId: number;
  areaId?: string;
  poiName: string;
  poiIntro?: string;
  poiDetail?: string;
  poiType?: string;
  poiStatus?: string;
  poiIcon?: string;
  poiImgMoblie?: string;
  poiImgPc?: string;
  coordinateX: number;
  coordinateY: number;
  distance?: string;
}

interface poiTypeInterface {
  categoryId: number;
  name: string;
  image: string;
  status: string;
}

interface MapInterface {
  load: boolean;
  state: object;
  zoom: number;
  zoomRange: object[];
}

interface StatusInterface {
  map: MapInterface;
  bluetooth: boolean;
  inVenue: boolean;
}

interface RouteDataType {
  imageUrl: string;
  title: string;
  distance: string;
  minute: string;
}

interface RouteLineType {
  type: string;
  name: string;
  mode: any; //代表最优路径/最短路径的枚举类型。详情参考fengmap.FMNaviMode
  priority: any; //导航中的路线规划梯类优先级, 默认为PRIORITY_DEFAULT, 详情参考fengmap.FMNaviPriority
  route: any;
  time: 0;
}

interface FloorInfo {
  alias: any;
  floorID: string;
  level: number;
  name: string;
}

export type {
  PositionInfo,
  MapInterface,
  StatusInterface,
  PoiInfo,
  poiTypeInterface,
  RouteDataType,
  RouteLineType,
  FloorInfo
};
